const { StragegyA, StragegyB, Context } = require('../../dist/stragegy')

const aTest = new StragegyA();

const bTest = new StragegyB();

const context = new Context({
  strage: aTest,
  str: 'bear xiong'
})

context.show()

context.changeStragegy(bTest);

context.show()